-- GENERATED SPELL FOR [Warbringer Construct] --


function spell0_8905(pUnit, Event) --@Skull Crack,n/a--
pUnit:FullCastSpellOnTarget(15621,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8905', 2313, 1)
end

function Sorts_8905(pUnit, Event)
local choix_sorts_8905 = math.random(0, 0)
if choix_sorts_8905 == 0 then
pUnit:RegisterEvent('spell0_8905', 1, 1)
end
end

function mob8905_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8905', math.random(1500, 3000), 1)
end

function mob8905_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8905_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8905_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8905, 1, 'mob8905_Action')
RegisterUnitEvent(8905, 2, 'mob8905_Leave')
RegisterUnitEvent(8905, 3, 'mob8905_Kill')
RegisterUnitEvent(8905, 4, 'mob8905_Die')
